public class Teacher {
    private int teacherId;
    private String name;
    private String sex;
    private int age;
    private String college;

    public Teacher() {
        super();
    }

    public Teacher(int teacherId, String name, String sex, int age, String college) {
        this.teacherId = teacherId;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.college = college;
    }

    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "teacherId=" + teacherId +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", college='" + college + '\'' +
                '}';
    }
}
